package com.mew.lobby.message.response;

import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.*;

/**
 * @author dylin
 * @create 2021/1/26 0026
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserInfoResponseMessage extends ZebraBaseMessage<UserInfoResponseMessage> {
/*    private String gid;//游戏ID
    private int headPath;//头像
    private String nickname;//昵称
    private int nameChangs;//昵称修改次数
    private int userLevel;//个人等级
    private long goldNumber;//金币
    private long jewelNumber;//砖石*/
/*    private int vipLevel;//VIP等级*/
    private String tel;//手机
    private long paymentTotal;//赔付总额
    private long onceMaxWin;//单次旋转最大得分
    private String inviter;//邀请人
    private String signature;//描述
    @Override
    public void write(ByteBuf b) {

/*      writeString(b, gid);
        writeInt(b, headPath);
        writeString(b, nickname);
        writeInt(b,nameChangs);
        writeInt(b, userLevel);
        writeLong(b, goldNumber);
        writeLong(b, jewelNumber);
        writeInt(b,vipLevel);*/
        writeString(b, tel);
        writeLong(b, paymentTotal);
        writeLong(b, onceMaxWin);
        writeString(b, inviter);
        writeString(b, signature);
    }
    @Override
    public UserInfoResponseMessage read(ByteBuf byteBuf) {
        return null;
    }
}
